/**
 * meiguang8.com
 * Copyright (C) 2016-2019 All Rights Reserved.
 */
package com.yuanchuang.yp.mall.web.admin.user.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * class_name: LoginRequest
 * package: com.yuanchuang.yp.mall.web.admin.model
 * describe: TODO
 * @author: yuanyuan.zhu
 * creat_user: yuanyuan.zhu
 * creat_date: 2019/7/11
 * creat_time: 14:37
 * */
@Data
public class LoginRequest {
    @ApiModelProperty("账号类型:1手机,2 邮箱")

    private Integer type;
    @ApiModelProperty("账号信息")

    private String account;
    @ApiModelProperty("密码")

    private String password;

    @Override
    public String toString() {
        return ReflectionToStringBuilder.reflectionToString(this,
                ToStringStyle.SHORT_PREFIX_STYLE);
    }
}

